<el-menu
        :default-active="activeIndex"
        class="el-menu-demo"
        mode="horizontal"
        background-color="#304156"
        text-color="#ffffff"
        active-text-color="#409EFF">
    <router-link :to="{ path: '/buildConfig'}">
        <el-menu-item index="/buildConfig">系统配置项</el-menu-item>
    </router-link>
    <router-link :to="{ path: '/language'}">
        <el-menu-item index="/language">国际化</el-menu-item>
    </router-link>
    <router-link :to="{ path: '/upgrade'}">
        <el-menu-item index="/upgrade">升级类</el-menu-item>
    </router-link>
    <router-link :to="{ path: '/extensionTab'}">
        <el-menu-item index="/extensionTab">管理smartbi地址</el-menu-item>
    </router-link>
    <router-link :to="{ path: '/apiTab'}">
        <el-menu-item index="/apiTab">API</el-menu-item>
    </router-link>
    <el-submenu index="index0">
        <template slot="title">其他工具</template>
        <router-link :to="{ path: '/loadExtensions'}">
            <el-menu-item index="/loadExtensions">加载指定目录扩展包</el-menu-item>
        </router-link>
        <router-link :to="{ path: '/commonTab/customTemplate'}">
            <el-menu-item index="/commonTab/customTemplate">自定义模板</el-menu-item>
        </router-link>
        <router-link :to="{ path: '/commonTab/jointTemplate'}">
            <el-menu-item index="/commonTab">联合模板</el-menu-item>
        </router-link>
    </el-submenu>
    <el-menu-item index="index00">
        <el-select
                v-model="value"
                filterable
                allow-create
                default-first-option="true"
                @change="changePath"
                :filter-method="dataFilter"
                @keydown.space.native="addSpace"
                placeholder="请选择当前的扩展包路径或输入新扩展包路径"
                style="width: 400px">
            <el-option
                    v-for="item in optionsCopy"
                    :key="item.path"
                    :value="item.path"
                    :title="item.path">
                <span v-html="item.lightWord ? item.lightWord : item.shortName"></span>
                <span @click.stop="del(item.path, $event)" title="删除" style="float: right;"><i
                        class="el-icon-circle-close"></i></span>
                <span @click.stop="setCopyText(delsrcweb(item.path), $event)" title="复制路径" style="float: right;"><i
                        class="el-icon-document-copy"></i></span>
                <span @click.stop="setCopyText(item.shortName, $event)" title="复制名称" style="float: right;"><i
                        class="el-icon-document-copy"></i></span>
            </el-option>
        </el-select>
    </el-menu-item>
</el-menu>